package Command_Pattern.Calculator;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Adder {
    private int num=0;
    private int last_num=0;
    public int add(int value){
        num+=value;
        last_num=value;
        return num;

    }
}
